package Facades;

import Entities.Empleado;
import Controllers.EmpleadoFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.enterprise.context.SessionScoped;

@Named(value = "empleadoController")
@SessionScoped
public class EmpleadoController extends AbstractController<Empleado> implements Serializable {

    @Inject
    private EmpleadoFacade ejbFacade;

    public EmpleadoController() {
        super(Empleado.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
